"""
编写一个python程序,统计文件中某个单词出现的次数：
python is a programming language.
python is easy to learn.
python is widely used.
统计python出现的次数
"""

with open('./files.txt','r',encoding='utf-8')as f:
    result=f.read()
    print(result.count('python'))

